package org.example.lease.web.app.service.impl;



/**
* @author 86183
* @description 针对表【payment_type(支付方式表)】的数据库操作Service实现
* @createDate 2024-06-15 17:14:56
*/

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.lease.model.entity.PaymentType;
import org.example.lease.web.app.mapper.PaymentTypeMapper;
import org.example.lease.web.app.service.PaymentTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PaymentTypeServiceImpl extends ServiceImpl<PaymentTypeMapper, PaymentType> implements PaymentTypeService {

    @Resource
    private PaymentTypeMapper paymentTypeMapper;

    @Override
    public List<PaymentType> listPaymentByRoomId(Long id) {
        return paymentTypeMapper.getPaymentTypeByRoomIt(id);
    }
}




